<html>
<head>
    <meta charset="utf-8">
    <#assign base=request.contextPath  />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${base}/frame/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${base}/frame/layuiadmin/style/admin.css" media="all">
    <script src="${base}/backstage/js/jquery-1.8.3.min.js"></script>
    <link rel="stylesheet" href="${base}/frame/font-awesome-4.7.0/css/font-awesome.min.css">
    <link href="${base}/frame/fontawesome-free-5.11.2-web/css/all.css" rel="stylesheet">
    <script>
        var base =  "${base}";
    </script>
    <script src="${base}/backstage/js/ipNameUrl.js"></script>

</head>
<body class="layui-layout-body"  >
<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <!-- 头部区域 -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layadmin-flexible" lay-unselect>
                    <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                        <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" layadmin-event="refresh" title="刷新">
                        <i class="layui-icon layui-icon-refresh-3"></i>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a lay-href="${base}/admin/userInfo/business.html">商家未审核消息<span class="layui-badge">${sum}</span></a>
                </li>
                <li class="layui-nav-item">
                    <a lay-href="${base}/admin/sale/sale.html">销售人数消息<span class="layui-badge layui-bg-orange">${saleSum}</span></a>
                </li>
                <li class="layui-nav-item">
                    <a lay-href="${base}/admin/user/user.html">微信用户<span class="layui-badge layui-bg-green">${wxCount}</span></a>
                </li>

            </ul>
            <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
                <li class="layui-nav-item" lay-unselect style="position: relative;right:30%">
                    <a href="${base}/admin/userInfo/logout">
                        <cite>臣...告辞...</cite>
                    </a>
                </li>
            </ul>
        </div>

        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
            <div class="layui-side-scroll">
                <div class="layui-logo" lay-href="home/console.html">
<#--                    <#if user.url??>-->
<#--                        <img src="${user.url}" class="layui-nav-img">-->
<#--                    <#else>-->
<#--                        <img src="${base}/backstage/images/logo.png" class="layui-nav-img">-->
<#--                    </#if>-->
                    <span>
                      塞班购物商城管理系统
                    </span>
                </div>
                <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">商家设置</a>
                        <dl class="layui-nav-child">
                            <dd><a lay-href="${base}/admin/userInfo/merchant_management.html">商家管理</a></dd>
                            <dd><a lay-href="${base}/admin/userInfo/business.html">商家审核</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">销售设置</a>
                        <dl class="layui-nav-child">
                            <dd><a lay-href="${base}/admin/sale/sale.html">销售管理</a></dd>
                        </dl>
                    </li>
                        <li class="layui-nav-item">
                            <a class="" href="javascript:;">商品设置</a>
                            <dl class="layui-nav-child">
                                    <dd><a lay-href="${base}/admin/good/good.html">商品管理</a></dd>
                                    <dd><a lay-href="${base}/admin/commodityClassification/commodityClassification.html">商品分类</a></dd>
                                    <dd><a lay-href="${base}/admin/classification/classification.html">分类设置</a></dd>
                                    <dd><a lay-href="${base}/admin/sizeClassification/sizeClassification.html">规格设置</a></dd>

                            </dl>
                        </li>
                        <li class="layui-nav-item "><!-- layui-nav-itemed 默认打开-->
                            <a class="" href="javascript:;">首页设置</a>
                            <dl class="layui-nav-child">
                                    <dd><a lay-href="${base}/admin/wheelPlanting/wheelPlanting.html">轮播图</a></dd>
<#--                                    <dd><a lay-href="${base}/admin/attribute/attribute.html">图标管理</a></dd>-->
                                    <dd><a lay-href="${base}/admin/userInfo/must_push.html">今日必推</a></dd>
                                    <dd><a lay-href="${base}/admin/userInfo/recommend.html">每日推荐</a></dd>
                            </dl>
                        </li>
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">反馈设置</a>
                        <dl class="layui-nav-child">
                            <dd><a lay-href="${base}/admin/feedbackClassification/feedbackClassification.html">反馈类型</a></dd>
                            <dd><a lay-href="${base}/admin/feedback/feedback.html">反馈管理</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">订单设置</a>
                        <dl class="layui-nav-child">
                            <dd><a lay-href="${base}/admin/shoppingOrder/shoppingOrder.html">订单管理</a></dd>
                        </dl>
                    </li>
                        <li class="layui-nav-item">
                            <a class="" href="javascript:;">系统设置</a>
                            <dl class="layui-nav-child">
                                    <dd><a lay-href="${base}/admin/userInfo/data_set.html">资料设置</a></dd>
                                    <dd><a lay-href="${base}/admin/money/money.html">入驻Money</a></dd>
                                    <dd><a lay-href="${base}/admin/comment/comment.html">评论管理</a></dd>
                                    <dd><a lay-href="${base}/admin/user/user.html">微信用户</a></dd>
                                    <dd><a lay-href="${base}/admin/journal/journal.html">日志管理</a></dd>
                            </dl>
                        </li>

                </ul>
            </div>
        </div>

        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs">
            <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-down">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                            <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                            <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                <ul class="layui-tab-title" id="LAY_app_tabsheader">
                    <li lay-id="home/console.html" lay-attr="home/console.html" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
                </ul>
            </div>
        </div>


        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe  id="MyIframe" src="${base}/admin/index/welcome.html" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>

        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="layadmin-body-shade" layadmin-event="shade"></div>
    </div>
</div>

<script src="${base}/frame/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '${base}/frame/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use('index');
</script>
<script>
    /**
     * 要显示的菜单id  iframe中的
     * @param menuUlId
     */
    function showMenu(menuUlId) {
        var menuId = [
            "user",
            "attribute",
            "dataUpdate",
            "tableNumber",
        ];
        for (var i = 0; i < menuId.length; i++) {
            if (menuId[i] == menuUlId) {
                $('#MyIframe').contents().find('.' + menuId[i]).show(500);
            } else {
                $('#MyIframe').contents().find('.' + menuId[i]).hide();
            }

        }

    }
</script>

<!-- 百度统计 -->
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?d214947968792b839fd669a4decaaffc";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</body>
</html>


